package com.cdu.guoxinan.www.smartcom.mapper;

import com.cdu.guoxinan.www.smartcom.domian.vo.DashboardStatVo;
import com.cdu.guoxinan.www.smartcom.domian.vo.FeeVO;
import com.cdu.guoxinan.www.smartcom.domian.vo.StatisticsVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface EmpStatisticsMapper {
    List<StatisticsVo> feeTypeDistribution();

    List<StatisticsVo> residentGenderDistribution();

    List<StatisticsVo> propertyBuildingDistribution();

    Long getResidentCount();

    Integer selectCurrentMonthOrderCount();

    int countPaidFeesThisMonth();

    int countTotalFeesThisMonth();

    List<StatisticsVo> monthlyFeeTrend();

    List<StatisticsVo> maintenanceTrend();

    List<StatisticsVo> complaintStatusDistribution();   // 投诉处理状态

    List<StatisticsVo> parkingStatusDistribution();     // 停车位状态

    List<StatisticsVo> topProducts();                   // 热销商品

    List<StatisticsVo> healthServicesDistribution();    // 健康服务

    List<FeeVO> getFeeByName(String name);

    Long getResidentId(Long userId);
}
